export type dataType={
    tabs:tab[],
    active:string,
    keyword:string,
    records:record[],
    loading:boolean,
}
type tab={
    name:string,
    id:string
}
type record={
    name:string,
    productName:string,
    id:string|number,
    productCategory:number
}
export type incomingType={
    hisDisabled:boolean,
    fields:field[],
    fields1:field[],
    model:any,
    records:incomingRecord[],
    unitId:string,
    productName:string,
    name:string,
    agencyName:agency[],
    productId:string|number,
    productCategory:string|number|null,
    nodeObj:nodeObj|object,
    options:option,
    rules:rule,
    type:number,
    vars:any
    dialogVisible:boolean,
    taskId: string,
    ids: string[],
    hisVal:string,
    isIncoming:boolean,
}
type nodeObj={
    name:string,
    id:string|number
}
type field={
    label: string,
    prop: string,
    placeholder: string,
    type: string,
    bindLabel?: string|unknown,
    bindValue?: string|unknown,
    unit?:string|unknown
    
}



type incomingRecord={
    tag:string,
    isEnabled:number,
    code:string
}
type agency={
    name:string,
    id:string|number,
    
}
type option={
    bizType:bizTypeRecord[],
    agencyProductId:bizTypeRecord[],
    branchId:bizTypeRecord[],
}
type bizTypeRecord={
    name:string,
    id:string|number,
}
type rule={
    bizType:bizTypeRule[]
}
type bizTypeRule={
    required:boolean,
    message:string,
    trigger:string
}
